core: use OSTREE_OBJECT_TYPE_LAST instead of OSTREE_OBJECT_TYPE_COMMIT
authorGiuseppe Scrivano <gscrivan@redhat.com>
Wed, 28 Oct 2015 08:39:46 +0000 (09:39 +0100)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Tue, 3 Nov 2015 08:53:38 +0000 (09:53 +0100)
commit048c27588abec700fa3ffa9edc2914f4600d2696
tree745aae8f172bd492d941293119132f17911952b4
parent7bf138b0364c8922da108e81a649bef1a5ad212b
core: use OSTREE_OBJECT_TYPE_LAST instead of OSTREE_OBJECT_TYPE_COMMIT

OSTREE_OBJECT_TYPE_LAST holds the value of the last element in the enum.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/libostree/ostree-core.c